package com.zzyl.service;

import com.zzyl.dto.ResourceAddDto;
import com.zzyl.dto.ResourceListDTO;
import com.zzyl.entity.Resource;
import com.zzyl.vo.MenuItemVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    List<Resource> list(ResourceListDTO dto);

    TreeVo tree();

    void add(ResourceAddDto dto);

    List<Resource> getByUserId(Long userId);
    List<MenuItemVo> getMenuByUserId(Long mgtUserId);
}
